<?php
return array(
//*************************************数据库设置*************************************
    'DB_TYPE'               =>  'mysqli',                 // 数据库类型
    'DB_HOST'               =>  '127.0.0.1',     // 服务器地址
    'DB_NAME'               =>  'resource_to_money',     // 数据库名
    'DB_USER'               =>  'root',     // 用户名
    'DB_PWD'                =>  'root',      // 密码
    'DB_PORT'               =>  '3306',     // 端口
    'DB_PREFIX'             =>  'zm_',   // 数据库表前缀
	// URL地址不区分大小写
	'URL_CASE_INSENSITIVE' => true,
	//REWRITE模式
	'URL_MODEL'=>'2',
	'MODULE_ALLOW_LIST'    =>    array('Youni','App','Index'),
	'DEFAULT_MODULE'       =>    'Index',
	'DEFAULT_FILTER'        =>  'htmlspecialchars',
    // 七牛云配置
    'UPLOAD_SITEIMG_QINIU' => array(
        'maxSize' => 2 * 1024 * 1024,//文件大小
        'rootPath' => './admin_upload',
        'savePath'          => 'admin_upload_',// 文件上传的保存路径
        'saveName' => array('uniqid', ''),
        'exts'              => ['zip', 'rar', 'txt', 'doc', 'docx', 'xlsx', 'xls', 'pptx', 'pdf', 'chf','gif','jpg','jpeg','bmp','png','swf'],  // 设置附件上传类型
        'driver' => 'Qiniu',
        'driverConfig' => array(
            'accessKey' => 'rK1Gw6WFqi9d0mYm8vL35Rh0tY0TwVVQlZa20v0Q',
            'secretKey' => 'xZC0O715X2rQmt45kbDfsnn96ao4mymb7y7Bb2-U',
            'domain' => 'ywh.yr2mcdn.nqvqn.com',
            'bucket' => 'resource2money',
        )

    ),



);
